package cn.iocoder.yudao.framework.base.common.bpm.bpmn;

import lombok.Data;

import jakarta.validation.constraints.NotEmpty;
import jakarta.validation.constraints.NotNull;

import java.util.List;

/**
 * 线性流程对象
 */
@Data
public   class SimpleLinearBpmn {
    @NotNull
    private String processId;
    @NotNull
    private String processName;
    @NotEmpty
    List<UserTaskNode> nodes;
}